<div class="collection">
    {% for link in widget %}
        <a href="{{ link.url }}" class="collection-item">{{ link.text }}</a>
    {% endfor %}
</div>